import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:sz_metro/tabbar.dart';
import 'package:get/get.dart';
import 'package:flutter/services.dart';


void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
      .then((_) {
    
    runApp(
      const GetMaterialApp(
        debugShowCheckedModeBanner: false,
        home: MyApp(),
      ),
    );
  });
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(primaryColor: Colors.green),
      home: const TabBarContent(),
    );
  }
}
